const state = {
    nm:window.localStorage.getItem('nm')||'北京',

    id:window.localStorage.getItem('id')||9
};

const mutations = {
    CITY_INFO(state,payload){
        state.nm = payload.nm;
        state.id = payload.id;
     }
}


export default {
    namespaced: true,
    state,
    mutations
}
